import 'package:coinbaby/common/const/cosnt.dart';
import 'package:coinbaby/common/textstyle/textstyle.dart';
import 'package:flutter/material.dart';

class SelectStrategy extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      margin: const EdgeInsets.only(top: 35),
      height: 101,
      decoration: BoxDecoration(
        color: AppColor.grey,
        borderRadius: BorderRadius.circular(10)
      ),
      child: Padding(
        padding: const EdgeInsets.only(left: 14, top: 9, right: 14, bottom: 15),
        child: Column(
          mainAxisAlignment: MainAxisAlignment.spaceBetween,
          children: <Widget>[
            Row(
              children: <Widget>[
                Padding(
                  padding: const EdgeInsets.only(right: 15, top: 5),
                  child: Text("交易所：", style: AppFont.textStyle(14, AppColor.font333, family: FamilyEnum.medium),)
                ),
                Container(
                  height: 18,
                  child: Image.asset("assets/icon_huobi2.png")
                )
              ],
            ),
            Row(
              children: <Widget>[
                Padding(
                  padding: const EdgeInsets.only(right: 18,),
                  child: Text("请选择交易对：", style: AppFont.textStyle(14, AppColor.font333,family: FamilyEnum.medium),)
                ),
                Expanded(
                  child: Row(
                    mainAxisAlignment: MainAxisAlignment.spaceBetween,
                    children: <Widget>[
                      Text("BTC/USDT", style: AppFont.textStyle(14, AppColor.font333),),
                      Icon(Icons.keyboard_arrow_down)
                    ],
                  ),
                )
              ],
            )
          ],
        ),
      ),
    );
  }
}